Line formatting Bản_mẫu:Interlinear

Formatting can be set for an entire line using the |styleN= parameter, which applies CSS style properties[2] to line N (|style1= for the first line, |style2= for the second one, etc):

{{interlinear|style1 = font-size:120%|style2 = color:DarkMagenta;|Įxę̀ę eya ı̨-lè|yesterday sick/painful PFV.3.SBJ-COP.PFV|'Yesterday he was sick.'}}

Įxę̀ę

yesterday

eya

sick/painful

ı̨-lè

PFV.3.SBJ-COP.PFV

Įxę̀ę eya ı̨-lè

yesterday sick/painful PFV.3.SBJ-COP.PFV

'Yesterday he was sick.'

Similarly, CSS classes[3] can be specified for line N using |classN=. Classes should be given without any quotation marks.

Italics are by default applied to the first line, unless disabled by |italics1=no. Any line can be italicised using |italicsN=yes (where N is the number of the line). On italicised lines, tone numbers[4] will be formatted as superscripts, unless |tone-superscripting= is set to no. To turn off italics for a particular word within an italicised line, use {{noitalic}}.

To specify the language of a given line, you can use |langN= (with N being 1 for the first line, 2 for the second one etc.).[5] The parameter should be the ISO code of the language, as in the familiar Template:Lang. If the unnumbered |lang= is given, then it is applied to the first line. If line N employs IPA, then the effect of Template:IPA can be mimicked by setting |ipaN=yes.[6] If transliteration has been used, then the transliteration scheme can be specified with the |translN= parameter (similarly to Template:Transl).

Liên quan